{{- if .Store.Get "hasMermaid" }}
  <script type="module">
    import mermaid from "{{ .Site.Params.mermaid.js_url }}";
  </script>
{{- end -}}
